def generate_test_cases():
    test_cases = [
        {"n": 1, "output": ["()"]},
        {"n": 2, "output": ["(())", "()()"]},
        {"n": 3, "output": ["((()))", "(()())", "(())()", "()(())", "()()()"]},
        {"n": 4, "output": [
            "(((())))", "((()()))", "((())())", "((()))()", "(()(()))", "(()()())", "(()())()", "(())(())", "(())()()", "()((()))", "()(()())", "()(())()", "()()(())", "()()()()"
        ]},
        {"n": 0, "output": [""]}
    ]
    return test_cases

if __name__ == "__main__":
    for i, case in enumerate(generate_test_cases()):
        print(f"样例{i+1}: n={case['n']}, output={case['output']}") 